import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import '@/utils/mock'
import '@/utils/routerGuarder'

// 导入全局样式表
import '@/assets/css/global.css'

import Icon from 'vue-svg-icon/Icon.vue'
import axios from 'axios'

// 启用svg-icon
Vue.component('icon', Icon)

// 启用axios插件
// axios.defaults.baseURL = ''
Vue.prototype.$http = axios

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
